package com.yenlien.traceyun.plant.controller.vo;

import javax.validation.constraints.NotBlank;

/**
 * @Date 2022/8/15
 * @Author jiaLong
 * @Descript
 */

public class NewHomeDTO {

    private String companyId;

    @NotBlank(message = "类型(type)不能为null", groups = {HistogramData.class})
    private String type;

    @NotBlank(message = "开始时间(startTime)不能为null", groups = {HistogramData.class, PieData.class})
    private String startTime;

    @NotBlank(message = "结束时间(endTime)不能为null", groups = {HistogramData.class, PieData.class})
    private String endTime;

    private String name;  // 基源名称


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }



public interface HistogramData{}
public interface PieData{}


}
